<?php 
$html =  file_get_contents("./test.html");
$html = preg_match_all('/yxlist-([a-z_]*)-1/i',$html,$aaa);


foreach ($aaa[1] as $l) {

  echo 'case "'.$l.'":'."\n";
  echo '$id = ;'."\n";
  echo "break;\n";

}





?>
